home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Tools (InfoMagic)
/
Internet Tools.iso
/
mail
/
uucp
/
pathalias
/
large.pathalias.patch
next >
Wrap
Text File
|
1994-10-24
|
2KB
|
75 lines
*** addnode.c.orig Tue Oct 25 00:34:13 1994
--- addnode.c Tue Oct 25 00:40:50 1994
***************
*** 42,48 ****
* appeals to me.
*/
static long Primes[] = {
! 1021, 2039, 3067, 5113, 8179, 13309, 21499, 34807, 56311, 0
};
static int Tabindex;
--- 42,51 ----
* appeals to me.
*/
static long Primes[] = {
! #ifdef SMALL
! 1021, 2039, 3067, 5113, 8179, 13309, 21499, 34807, 56311,
! #endif
! 91129, 147451, 0
};
static int Tabindex;
***************
*** 342,347 ****
--- 345,351 ----
register char *name;
{ register node *n;
register int i;
+
if (Iflag)
lowercase(name);
*** config.h.orig Tue Oct 25 00:34:13 1994
--- config.h Tue Oct 25 00:35:45 1994
***************
*** 16,21 ****
--- 16,23 ----
#define RESOLVER /* have internet domain name resolver */
+ #undef SMALL /* run slower (definitely), use less vm (maybe). */
+
/* default place for dbm output of makedb (or use -o at run-time) */
#define ALIASDB "/usr/local/lib/palias"
*** def.h.orig Tue Oct 25 00:34:13 1994
--- def.h Tue Oct 25 00:35:45 1994
***************
*** 59,65 ****
#define n_private un2.nu_priv
#define n_parent un2.nu_par
- /* WARNING: if > 2^16 nodes, type of n_tloc must change */
struct node {
char *n_name; /* host name */
link *n_link; /* adjacency list */
--- 59,64 ----
***************
*** 73,79 ****
node *nu_priv; /* other privates in this file (parsing) */
node *nu_par; /* parent in shortest path tree (mapping) */
} un2;
! unsigned short n_tloc; /* back ptr to heap/hash table */
unsigned short n_flag; /* see manifests above */
};
--- 72,78 ----
node *nu_priv; /* other privates in this file (parsing) */
node *nu_par; /* parent in shortest path tree (mapping) */
} un2;
! int n_tloc; /* back ptr to heap/hash table */
unsigned short n_flag; /* see manifests above */
};